package com.cxria.pattern.responsibilityChain

class Son extends Handler {

    Son() {
        super(Handler.SON_LVEL_REQUEST)
    }

    @Override
    protected void response(IWomen women) {
        println '母亲向儿子请示'
        println women.request
        println '儿子的答复是:同意\n'
    }

}
